package _1027.mybatis2.entity;

public class Stuinfo {
	private Integer stuInfoId;
	private String sex;
	private String addr;
	private String phone;
	private Integer pupilId;
	
	public Stuinfo() {
		super();
	}

	public Stuinfo(Integer stuInfoId, String sex, String addr, String phone, Integer pupilId) {
		super();
		this.stuInfoId = stuInfoId;
		this.sex = sex;
		this.addr = addr;
		this.phone = phone;
		this.pupilId = pupilId;
	}

	public Integer getStuInfoId() {
		return stuInfoId;
	}

	public void setStuInfoId(Integer stuInfoId) {
		this.stuInfoId = stuInfoId;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getPupilId() {
		return pupilId;
	}

	public void setPupilId(Integer pupilId) {
		this.pupilId = pupilId;
	}

	@Override
	public String toString() {
		return "Stuinfo [stuInfoId=" + stuInfoId + ", sex=" + sex + ", addr=" + addr + ", phone=" + phone + ", pupilId="
				+ pupilId + "]";
	}
}
